/**
 * 组件名称：【巨型组件】Header
 * 使用场景：页面头部，放到AppShellHeader中
 * 功能介绍：将一众只用一次的小组件打包
 * 功能进度：100%
 * 待办事项：无
 */

import {Group} from "@mantine/core";
import {IpdLogo} from "./IpdLogo";
import {IpdMenuText, IpdMenuActionIcon} from "./IpdMenu";
import {IpdNotification} from "./IpdNotification";
import {IpdThemeChange} from "./IpdThemeChange";
import {IpdAvatar} from "./IpdAvatar";

export const IpdHeader = () => {
  return (
    <Group h="100%" px="md" justify="space-between">
      <IpdLogo />
      <IpdMenuText />
      <Group>
        <IpdMenuActionIcon />
        <IpdNotification />
        <IpdThemeChange />
        <IpdAvatar />
      </Group>
    </Group>
  );
};
